package cn.jilijili.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.oauth2.provider.token.TokenStore;
import org.springframework.security.oauth2.provider.token.store.InMemoryTokenStore;

/**
 * @ClassName : AccessTokenConfig  //类名
 * @Description :   //描述
 * @Author : HTB  //作者
 * @Date: 2020-04-22 12:29  //时间
 */
@Configuration
public class AccessTokenConfig {
    @Bean
    TokenStore tokenStore(){

        return new InMemoryTokenStore();
    }
}
